<?
include("global.php"); 
include("controller/resultados.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title><? echo $config->Read("tituloSite"); ?></title>
	<link href="css/2007.css" rel="stylesheet" type="text/css" />
	<? include("header_global.php"); ?>
	<script language="javascript" src="scripts/index.js"></script>
</head>

<body onload="Index_Load()">
<table width="779" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="779" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top" class="texto"><?php include("include_menu_superior.php") ?></td>
      </tr>
      <tr>
        <td><table width="779" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="170" valign="top">
						
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="seta">&nbsp;</td>
              </tr>
            </table>
                    <?php include("include_menu_vertical.php") ?>
            </td>
            <td valign="top"><table width="607" border="0" align="center" cellpadding="1" cellspacing="1" class="borda">
              <tr>
                <td width="601" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="601" valign="top">
					<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="borda">
                  <tr>
                    <td valign="top"><table width="100%" border="0" cellpadding="3" cellspacing="3">
                      <tr>
                        <td valign="top" class="titulo">
							Enquetes > <? echo $objEnquete->titulo; ?>
						</td>
                      </tr>
                      <tr>
                        <td valign="top" class="formulario">
							
						  <?
						  if ($msgVotou)
						  {
						 		echo "Voto computado com sucesso!<p>";
						  }
						  ?>
						  <br>
							<img src="enquete/enquete_grafico.php?enqueteId=<? echo $enqueteId; ?>" />
                          <br>
                          <br>
						  </td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
					</td>
                  </tr>
                  <tr>
                    <td valign="top">&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td class="bg-linha-rodape">&nbsp;<br />
          &nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="rodape"><div align="center">
      <? include("include_rodape.php"); ?>
    </div></td>
  </tr>
</table>
</body>
</html>
